//
//  ChooseView.h
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/10/19.
//  Copyright © 2017年 bob. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ChooseFinshBlock)(NSString*value,NSInteger index);

@interface ChooseView : UIView

-(instancetype)initWithFrame:(CGRect)frame andDataArr:(NSArray*)DataArr andBlock:(ChooseFinshBlock)block;
@property (weak, nonatomic) IBOutlet UIView *BlackBgView;
@property (weak, nonatomic) IBOutlet UIView *ContentBgView;
@property (weak, nonatomic) IBOutlet UIPickerView *DataPickView;

-(void)PopWithView:(UIView*)SupView;

@end
